// eslint-disable-next-line import/no-extraneous-dependencies
import Vue from 'vue';

import MDialog from '../m-components/m-dialog/src/main.vue';
// import MSvg from '../m-components/m-svg'
import MEditable from '../m-components/m-editable/index.vue';
import MSearch from '../m-components/m-search/index.vue';
import MIconfont from '../m-components/m-iconfont/index.vue';
import MImg from '../m-components/m-img/index.vue';
import MHeader from '../m-components/m-header/index.vue';
import MInfoCard from '../m-components/m-info-card/index.vue';
import MFlex from '../m-components/m-flex/index.vue';
import MTabs from '../m-components/m-tabs/index.vue';
import MRadioGroup from '../m-components/m-radio/radio-group.vue';
import MRadio from '../m-components/m-radio/radio.vue';
import MCardUpload from '../m-components/m-card-upload/index.vue';
import $MDialog from '../m-components/m-dialog';

Vue.component('MDialog', MDialog);
// Vue.component('m-svg', MSvg)
Vue.component('MEditable', MEditable);
Vue.component('MSearch', MSearch);
Vue.component('MIconfont', MIconfont);
Vue.component('MImg', MImg);
Vue.component('MHeader', MHeader);
Vue.component('MInfoCard', MInfoCard);
Vue.component('MFlex', MFlex);
Vue.component('MTabs', MTabs);
Vue.component('MRadioGroup', MRadioGroup);
Vue.component('MRadio', MRadio);
Vue.component('MCardUpload', MCardUpload);
Vue.prototype.$mdialog = $MDialog;
